<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>修改品牌信息</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../elementUI/index.css">
  <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
  <div id="app" class="minWidth">
    <el-form :model="form" ref="contract" :rules="rules" inline-message="true" style="width: 100%">
      <div class="table_titel">
        <div class="titel">添加溯源基地信息</div>
      </div>
      <el-descriptions :column="1" border size="small">
        <el-descriptions-item label="基地名称">
          <el-form-item prop="Traceability_Base_Name">
            <el-input v-model.trim="form.Traceability_Base_Name" placeholder="请输入基地名称"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="生产经营">
          <el-form-item prop="Traceability_Base_Production">
            <el-input v-model.trim="form.Traceability_Base_Production" placeholder="请输入生产经营"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="地理位置">
          <div class="linkage" style="display: flex;">
            <div>
              <el-select v-model="selectProvince" filterable size="small" @change="selectProvinceFun($event)"
                placeholder="请选择省份">
                <el-option value="" label="请选择省份"></el-option>
                <el-option :value="item" :label="item.label" v-for="(item, index) in city" :key="index"></el-option>
              </el-select>
            </div>
            <div>
              <el-select v-model="selectCity" filterable size="small" @change="selectCityFun($event)"
                placeholder="请选择城市">
                <el-option value="" label="请选择城市"></el-option>
                <el-option :value="item" :label="item.label" v-for="(item, index) in cityList" :key="index"></el-option>
              </el-select>
            </div>
            <div>
              <el-select v-model="selectArea" filterable size="small" @change="selectAreaFun($event)"
                placeholder="请选择区县">
                <el-option value="" label="请选择区县"></el-option>
                <el-option :value="item" :label="item.label" v-for="(item, index) in areaList" :key="index"></el-option>
              </el-select>
            </div>
            <div>
              <el-input @change="selectAddress($event)" :disabled="isdisabled" v-model.trim="address"
                placeholder="请输入详情地址"></el-input>
            </div>
          </div>

        </el-descriptions-item>
        <el-descriptions-item label="基地人数">
          <el-form-item prop="People_Number">
            <el-input v-model.trim="form.People_Number" placeholder="请输入基地人数"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="文化信息">
          <el-form-item prop="Cultural_Information">
            <el-input v-model.trim="form.Cultural_Information" placeholder="请输入文化信息"></el-input>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>
      <!-- <div class="table_titel">
                <div class="titel">基地视频</div>
            </div>
            <el-form-item prop="Cultural_Information">
                <el-upload class="upload-demo" ref="upload" drag :action="DomainName + '/sv/bbb'" :file-list="FileList"
                    :on-success="handleVideoSuccess" :before-upload="upload" multiple>
                    <i class="el-icon-upload"></i>
                    <div class="el-upload__text">将视频拖到此处，或<em>点击上传</em></div>
                    <div class="el-upload__tip" slot="tip">可上传溯源基地视频，大小不超过500kb</div>
                </el-upload>
            </el-form-item> -->
      <el-form-item class="form-operation">
        <el-button @click="window.history.back()">返回</el-button>
        <el-button @click="resetForm('contract')">重置</el-button>
        <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
      </el-form-item>
    </el-form>
  </div>
  <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
  <script type="text/javascript" src="../../../js/vue.min.js"></script>
  <script type="text/javascript" src="../../../elementUI/index.js"></script>
  <script type="text/javascript" src="../../../js/utils.js"></script>
  <script type="text/javascript" src="../../../js/ID_Validity.js"></script>
  <script type="text/javascript" src="./js/Edit.js"></script>
  <script type="text/javascript">

  </script>
</body>

</html>